package com.hsav.kcxb.bean;

/**
 * Created by zhao on 2017/1/2.
 */

public class CityBean {
    private int mCityId;
    private String mCityName;

    public CityBean(int mCityId, String mCityName) {
        this.mCityId = mCityId;
        this.mCityName = mCityName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CityBean cityBean = (CityBean) o;

        if (mCityId != cityBean.mCityId) return false;
        return mCityName.equals(cityBean.mCityName);

    }

    @Override
    public int hashCode() {
        int result = mCityId;
        result = 31 * result + mCityName.hashCode();
        return result;
    }

    public int getCityId() {
        return mCityId;
    }

    public void setCityId(int mCityId) {
        this.mCityId = mCityId;
    }

    public String getCityName() {
        return mCityName;
    }

    public void setCityName(String mCityName) {
        this.mCityName = mCityName;
    }


}
